import requests
from bs4 import BeautifulSoup

url = 'http://www.weather.com.cn/weather/101110101.shtml'
html = requests.get(url).content.decode('utf-8')
bs = BeautifulSoup(html,"html.parser")
area = bs.find(class_='crumbs fl')
for i in area.find_all('a'):
    print (i.get_text().strip())
for i,j,k in (list(zip(bs.find('ul', class_='t clearfix').find_all('h1'),bs.find_all(class_ = "wea"),bs.find_all(class_ = "tem")))):
    print(i.get_text().strip(), j.get_text().strip(), k.get_text().strip())
input('Press Enter to exit.')
